package com.moyun.service.system.impl;

import com.moyun.model.po.system.SysUserEntity;
import com.moyun.mapper.system.SysUserMapper;
import com.moyun.service.system.SysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author yangboxuan
 * @since 2021-07-01
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUserEntity> implements SysUserService {

    @Override
    public SysUserEntity selectUserWithRolesByUserId(Integer userId) {
        SysUserEntity sysUserEntityList=this.baseMapper.selectUserWithRolesByUserId(userId);
        return sysUserEntityList;
    }
}
